package com.atstudy.thread;

import java.util.concurrent.Callable;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/22 15:25
 * @copyright: 博为峰
 */
public class Thread05 implements Callable {
    @Override
    public String call() throws Exception {
        Thread.sleep(5000);
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName() + "-" + i);
        }
        return "博为峰";
    }
}
